██████╗ ███████╗████████╗██╗██████╗ ███████╗██████╗ ██╗ █████╗
██╔══██╗██╔════╝╚══██╔══╝██║██╔══██╗██╔════╝██╔══██╗██║██╔══██╗
██████╔╝█████╗ ██║ ██║██████╔╝█████╗ ██║ ██║██║███████║
██╔══██╗██╔══╝ ██║ ██║██╔═══╝ ██╔══╝ ██║ ██║██║██╔══██║
██║ ██║███████╗ ██║ ██║██║ ███████╗██████╔╝██║██║ ██║
╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝╚═╝ ╚══════╝╚═════╝ ╚═╝╚═╝ ╚═╝
- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
ImageMagick
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
top
mwcqImageMagick è un mwcgsoftware libero mwcwmultipiattaforma che fornisce una suite di strumenti per la creazione, modifica e visualizzazione di mwdaimmagini mwdqbitmap.cite-ref-home-2-0[2]
Contents
• Storia
• API
• Note
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Storia
Venne creato nel 1987 da John Cristy quando lavorava presso la DuPont, per convertire immagini a 24 bit (16 milioni di colori) in immagini a mwfq8 bit (256 colori), in modo che potessero essere visualizzate sulla maggior parte degli schermi. È stato pubblicato come mwfgfreeware nel 1990 quando DuPont ha accettato di trasferire il mwfwcopyright alla società mwgaImageMagick Studio LLC, che è tuttora l'organizzazione che si occupa del progetto.
Nel maggio 2016, è stata scoperta una vulnerabilità attraverso la quale un utente malintenzionato può eseguire codice arbitrario su server che utilizzano l'applicazione per modificare le immagini caricate dall'utente. Gli esperti di sicurezza, inclusi i ricercatori di CloudFlare, hanno osservato l'uso effettivo della vulnerabilità nei tentativi di hacking attivo; il difetto di sicurezza era dovuto al fatto che il mwggsoftware utilizzava degli strumenti di backend senza prima controllare che i nomi dei percorsi e dei file fossero privi di comandi di shell impropri. La vulnerabilità non ha comunque influito sulle distribuzioni di ImageMagick che includevano una mwgwsecurity policy configurata correttamente.
Descrizione
ImageMagick è intercompatibile con almeno un centinaio di mwhgformati di immaginicite-ref-3[3] per applicare trasformazioni di mwiwtraslazione, mwjariflessione, mwjqrotazione, regolazione dei mwjgcolori, applicazione di mwjweffetti speciali o disegno di testo, linee, mwkapoligoni, mwkqellissi o mwkgcurve di Bézier, ecc.cite-ref-home-2-1[2] È utilizzabile sia attraverso mwlwinterfaccia a riga di comando sia nativamente su diversi mwmalinguaggi di programmazione utilizzando apposite mwmqAPI.cite-ref-4[4]
Esempi di utilizzo
Seguono alcuni esempi da mwoariga di comando:cite-ref-5[5]
convert immagine.jpg risultato.png
Ridimensionare un'immagine alla dimensione di 300x200mwrapx:
mogrify -resize 300x200 immagine
mogrify -resize 300x *.jpg
Rimpicciolire un'immagine della metà e cambiarla di formato:
convert immagine.jpg -resize 50% risultato.png
API
Le interfacce supportate per vari linguaggi di programmazione sono:
| Linguaggio | Interfaccia |
|---|---|
| Ada | G2F |
| C | MagickWand MagickCore |
| Ch [ 6 ] | ChMagick |
| COM+ | ImageMagickObject |
| C++ | Magick++ |
| Java | JMagick Im4java |
| LabVIEW | LVOOP ImageMagick |
| Lisp | CL-Magick |
| Neko/haXe | NMagick |
| .NET | MagickNet |
| Pascal | PascalMagick |
| Perl | PerlMagick |
| PHP | MagickWand for PHP IMagick [ 7 ] phMagick |
| Python | PythonMagickWand PythonMagick |
| REALbasic | MBS Realbasic ImageMagick |
| Ruby | RMagick MagickWand for Ruby MiniMagick QuickMagick |
| Tcl/Tk | TclMagick |
| RPC XML | RemoteMagick |
Formati supportati
Lettura e scrittura
• 8BIM (mw1wformato proprietario mw2aAdobe Photoshop)
• APP1 (formato proprietario Adobe Photoshop)
• AVS (immagine AVS X)
• BIE (Joint Bi-level Image Experts Group interchange format)
• BMP (mw3gWindows bitmap)
• CIN (mw4aKodak Cineon Image Format)
• mw4gCMYK (campionatura grezza ciano, magenta, giallo e nero)
• CMYKA (campionatura grezza ciano, magenta, giallo, nero e canale alpha)
• DCX (ZSoft IBM PC mw5qPaintbrush multipagina)
• DIB (mw5wWindows bitmap)
• DPX (Digital Picture Exchange)
• EPDF (immagina incapsulata in mw6gPDF)
• EPI (mw7aAdobe mw7qEncapsulated PostScript Interchange format)
• EPS (Adobe Encapsulated PostScript)
• EPSF (Adobe Encapsulated PostScript)
• EPSI (Adobe Encapsulated PostScript Interchange format)
• EPT (Adobe Encapsulated PostScript with TIFF preview)
• FAX (Group 3 FAX)
• FITS (Flexible Image Transport System)
• FPX (FlashPix Format)
• G3 (Group 3 FAX)
• GIF (mw9wCompuServe mw-agraphics interchange format)
• GIF87 (CompuServe graphics interchange format (version 87a))
• GRAY (Raw gray samples (8 or 16 bits, depending on the image depth))
• H (Internal format)
• HTML (HTML con mappa immagine)
• ICB (Truevision Targa image)
• ICM (ICC Color Profile)
• IPTC (IPTC Newsphoto)
• JBG (Joint Bi-level Image experts Group interchange format)
• JBIG (Joint Bi-level Image experts Group interchange format)
• JNG (Multiple-image Network Graphics)
• JP2 (JPEG-2000 JP2 File Format Syntax)
• JPC (JPEG-2000 Code Stream Syntax)
• JPEG (mwaqyJoint Photographic Experts Group JFIF format)
• JPG (Joint Photographic Experts Group JFIF format)
• LOGO (ImageMagick Logo)
• M2V (mwaqoMPEG-2 Video Stream)
• MAP (Colormap intensities (8 or 16 bits, depending on the image depth) and indices (8 or 16 bits, depending n whether colors exceeds 256).)
• MIFF (Magick Image File Format)
• MNG (Multiple-image Network Graphics)
• MONO (Bi-level bitmap in least-significant- -byte-first order)
• mwareMPEG (MPEG-1 Video Stream)
• MPG (MPEG-1 Video Stream)
• MSL (Magick Scripting Language)
• MTV (MTV Raytracing image format)
• MVG (Magick Vector Graphics)
• OTB (On-the-air bitmap)
• P7 (Xv thumbnail format)
• PAL (16bit/pixel interleaved YUV)
• PALM (Palm Pixmap format)
• PBM (Portable bitmap format (black and white))
• PCD (mwarwPhoto CD)
• PCDS (Photo CD)
• PCT (Apple Macintosh QuickDraw/PICT)
• PCX (ZSoft IBM PC Paintbrush)
• PDB (Palm Database ImageViewer Format)
• PDF (mwasiPortable Document Format)
• PGM (Portable graymap format (gray scale))
• PICON (Personal Icon)
• PICT (Apple Macintosh QuickDraw/PICT)
• PM (X Window system pixmap (color))
• PNG (mwasgPortable Network Graphics)
• PNM (Portable anymap)
• PPM (Portable pixmap format (color))
• PS (Adobe PostScript)
• PS2 (Adobe PostScript livello II)
• PS3 (Adobe PostScript livello III)
• PSD (Adobe Photoshop bitmap)
• PTIF (Pyramid encoded TIFF)
• RAS (SUN Rasterfile)
• mwatiRGB (Raw red, green, and blue samples (8 or 16 bits, depending on the image depth))
• RGBA (Raw red, green, blue, and matte samples (8 or 16 bits, depending on the image depth))
• ROSE (70x46 Truecolor test image)
• SGI (Irix RGB image)
• SUN (SUN Rasterfile)
• SVG (mwatgScalable Vector Graphics)
• TEXT (Raw text)
• TGA (mwatsTruevision TGA image)
• TIF (Tagged Image File Format)
• TIFF (mwat4Tagged Image File Format)
• TXT (Raw text)
• UYVY (16bit/pixel interleaved YUV)
• VDA (Truevision Targa image)
• VICAR (VICAR rasterfile format)
• VID (Visual Image Directory)
• VIFF (Khoros Visualization image)
• VST (Truevision Targa image)
• WBMP (Wireless Bitmap (level 0) image)
• X (X Image)
• XBM (X Window system bitmap (black and white))
• XPM (X Window system pixmap (color))
• XV (Khoros Visualization image)
• mwauwXWD (X Window system window dump (color))
• YUV (CCIR 601 4:1:1)
Sola lettura
• AFM (mwaveAdobe font metrics)
• ART (PF1: 1st Publisher)
• AVI (Audio/Visual Interleaved)
• CUT (DR Halo)
• DCM (Digital Imaging and Communications in Medicine image)
• DPS (Display PostScript)
• DPX (Digital Moving Picture Exchange)
• FILE (mwavsUniform Resource Locator)
• mwav0FTP (Uniform Resource Locator)
• GRADIENT (Gradual passing from one shade to another)
• GRANITE (Granite texture)
• mwaweHTTP (Uniform Resource Locator)
• ICON (Microsoft icon IMPLICIT)
• LABEL (Text image format)
• MPR (Magick Persistent Registry)
• MSL (Magick Scripting Language)
• NETSCAPE (mwawoNetscape 216 color cube)
• NULL (Constant image of uniform color)
• PDB (Pilot Image Format)
• PFA (Adobe Type 1 font file)
• PFB (Adobe Type 1 font file)
• PFM (Adobe Type 1 font file)
• PIX (Alias/Wavefront RLE image format)
• PLASMA (Plasma fractal image)
• PWP (Seattle Film Works)
• RLA (Alias/Wavefront image)
• RLE (Utah Run length encoded image)
• SCT (Scitex HandShake)
• SFW (Seattle Film Works)
• STEGANO (Steganographic image)
• SVG (mwaxkScalable Vector Graphics)
• TILE (Tile image with a texture)
• TIM (PSX TIM)
• TTF (mwax0TrueType font)
• WMF (Windows Metafile)
• WPG (mwayaWordPerfect Graphics)
• XC (Constant image uniform color)
• XCF (mwaymGIMP image)
Note
cite-note-license-11. mwayo(mwaysmwaywEN) mway0mway4ImageMagick: License, su mway8imagemagick.org. mwazaURL consultato il 18 marzo 2016. mwazi«the license is compatible with the GPL V3»
cite-note-home-22. ↑ mwazg(mwazkmwazoEN) mwazsmwazwImageMagick: Convert, Edit, Or Compose Bitmap Images, su mwaz0imagemagick.org. mwaz4URL consultato il 17 marzo 2017.
cite-note-33. ↑ mwaai(mwaammwaaqEN) mwaaumwaayImageMagick: Formats, su mwaacimagemagick.org. mwaagURL consultato il 17 marzo 2016.
cite-note-44. ↑ mwaaw(mwaa0mwaa4EN) mwaa8mwabaImageMagick: Application Program Interfaces, su mwabeimagemagick.org. mwabiURL consultato il 17 marzo 2016 mwabm(archiviato dall'mwabqurl originale il 19 marzo 2016).
cite-note-55. ↑ mwabg(mwabkmwaboEN) mwabsmwabwExamples of ImageMagick Usage Examples, su mwab0imagemagick.org. mwab4URL consultato il 17 marzo 2016.
cite-note-62. mwaci(mwacmmwacqEN) mwacumwacyCh -- an embeddable interpreter, su mwaccsoftintegration.com. mwacgURL consultato il 18 marzo 2016.
cite-note-73. mwacw(mwac0mwac4EN) mwac8mwadaImage Processing (ImageMagick), su mwadephp.net. mwadiURL consultato il 18 marzo 2016.
Bibliografia
• mwady(EN) Michael Still, The Definitive Guide to ImageMagick, Apress, 2005, ISBN 978-1-59059-590-9.
Voci correlate
Altri progetti
Altri progetti
• Wikimedia Commons
• Wikimedia Commons contiene immagini o altri file su ImageMagick
Collegamenti esterni
• (EN) Sito ufficiale, su imagemagick.org.
• ImageMagick, su packages.debian.org.
• Repository sorgenti di ImageMagick, su github.com.
• mwaem(EN) Homepage di ImageMagick, su imagemagick.org. URL consultato il 17 marzo 2016.
• mwaeu(EN) Homepage di GraphicsMagick, su graphicsmagick.org. URL consultato il 17 marzo 2016.
• mwaec(EN) Codice sorgente di ImageMagick, su github.com. URL consultato il 17 marzo 2016.